home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
QDECRYPT.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
933b
|
41 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_QuickDecrypt( cString, nKey ) --> cDecryptStr
PARAMETERS:
cString : String to be decrypted.
nKey : Numeric key value for offset seed
SHORT:
Quick Decrypt for _QEncrypt() values.
DESCRIPTION:
_QuickDecrypt() provides a faster decryption than _Encrypt() at the expense
of being easier to decrypt. It works ONLY on strings created by
_QuickEncrypt().
_QuickDecrypt() returns the original string intact (still encrypted) if
an error occurs (if nKey is not specified or is non-numeric).
NOTE:
EXAMPLE:
t = _QuickEncrypt('ABCDEFG',55)
t = _QuickDecrypt(t,55)
Result:
t = 'ABCDEFG'
******************************************************************************/